<?php

use Hyperf\Database\Schema\Schema;
use Hyperf\Database\Schema\Blueprint;
use Hyperf\Database\Migrations\Migration;

class ModifyPercentage07210932 extends Migration
{
    /**
     * Run the migrations.
     */
    public function up(): void
    {
        Schema::table('percentage', function (Blueprint $table) {
            //
            $table->unsignedTinyInteger('is_self_merchant')->default(0)->after('price')->comment('是否自有商户号打款 0:否 1:是');
        });
    }

    /**
     * Reverse the migrations.
     */
    public function down(): void
    {
        Schema::table('percentage', function (Blueprint $table) {
            //
        });
    }
}
